﻿'use strict';

resumeApp.controller('resumeEditCtrl', ['$scope', '$routeParams', 'resumeService', function ($scope, $routeParams, resumeService) {
    $scope.resumes = {};
    
    $scope.saveResume = function () {
        //if ($scope.customer.id === undefined) {
        
        resumeService.insertResume($scope.resume);
        //}
        //else {
        //    resumeService.updateCustomer($scope.customer).then(processSuccess, processError);
        //}
    };
    
}]);